#ifndef PAGEPISSIDENAVI_H
#define PAGEPISSIDENAVI_H

#include <QWidget>
#include <QPushButton>
#include <QButtonGroup>
#include "global_def.h"

namespace Ui {
class PagePisSideNavi;
}

class PagePisSideNavi : public QWidget
{
    Q_OBJECT

public:
    explicit PagePisSideNavi(QWidget *parent = nullptr);
    ~PagePisSideNavi();
    void ResetBtnCheckStat();
signals:
    void signal_show_vehicle_page(int index);
private:
    Ui::PagePisSideNavi *ui;
    QStringList m_lNaviBtnName;
    QButtonGroup m_cNaviBtnGroup;
    uint m_nStartx;
    uint m_nStarty;
    uint m_nNaviBtnLen;
    uint m_nNaviBtnHeight;
    uint m_nVSpace;
private:
    void InitBtns();
};

#endif // PAGEPISSIDENAVI_H
